package com.qf.lw.mapper;

import com.qf.lw.pojo.CustomerPojo;
import com.qf.lw.pojo.OrderDetailPojo;
import com.qf.lw.pojo.OrderPojo;

import java.util.List;

public interface OrderMapper {


    /**
     * 创建订单信息
     *
     * @param orderPojo
     * @return
     */
    public boolean createOrder(OrderPojo orderPojo);

    /**
     * 创建订单详情
     *
     * @param detais
     * @return
     */
    public boolean createOrderDetails(List<OrderDetailPojo> detais);

    public boolean cancelOrder(String oid);

    public boolean apaySuccess(String oid);

    public CustomerPojo ordershow(int aid);
}
